﻿<%@ Page Language="C#" MasterPageFile="~/login/user.master" AutoEventWireup="true" CodeBehind="password.aspx.cs" Inherits="chatblog.login.password" Title="修改密码" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
修改密码:<br />
原密码:<asp:TextBox ID="TextBox1" runat="server" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="TextBox1" ErrorMessage="原密码不能为空!"></asp:RequiredFieldValidator>
    <asp:Label ID="Label_oldkey" runat="server" Text="oldkey" Visible="False"></asp:Label>
    <br />
新密码:<asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
        ControlToValidate="TextBox2" ErrorMessage="新密码不能为空!"></asp:RequiredFieldValidator>
    <br />
新密码:<asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
        ControlToValidate="TextBox3" ErrorMessage="新密码不能为空!"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator1" runat="server" 
        ControlToCompare="TextBox2" ControlToValidate="TextBox3" ErrorMessage="两次输入不同!"></asp:CompareValidator>
    <br />
    <asp:Button ID="Button1" runat="server" Text="修改" onclick="Button1_Click" />
<br />
</asp:Content>
